<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class GoodsAttributeType extends Model
{
    use SoftDeletes;

    public $table = 'goods_attribute_types';
    

    protected $dates = ['deleted_at'];


    public $fillable = [
        'shop_id',
        'goods_id',
        'name',
        'options',
    ];

    public function goods()
    {
        return $this->belongsTo('App\Models\Goods');
    }

    
}
